﻿namespace Wips.AppService.Publisher.Models
{
    /// <summary>
    /// 子服务器上面的服务配置
    /// </summary>
    public class AgentServerConfigModel
    {

        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 归属的服务
        /// </summary>
        public string AgentServerId { get; set; } = "";

        /// <summary>
        /// 服务器名称
        /// </summary>
        public string ServerName { get; set; } = "";

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = "";

        /// <summary>
        /// 根目录
        /// </summary>
        public string RootPath { get; set; } = "";


        /// <summary>
        /// iis的名称，用来重启服务
        /// </summary>
        public string IISName { get; set; } = "";


        /// <summary>
        /// 服务信息
        /// </summary>
        public AgentServerModel? AgentServer { get; set; }

        /// <summary>
        /// 上传地址
        /// </summary>
        public string UploadPath { get; set; } = "";
    }
}
